package com.meilai.project.controller.web.market.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.dto.workflow.FlowBusinessDataSuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * <p>
 * 市场单
 * </p>
 *
 * @author xchen
 * @since 2022-07-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bill_market")
@ApiModel(value = "BillMarket对象", description = "市场单")
public class BillMarket extends FlowBusinessDataSuperEntity {

    public static final String DEPT_ID = "dept_id";
    public static final String CUSTOMER_ID = "customer_id";
    public static final String CONTRACT_ID = "contract_id";
    public static final String BILL_SALE_ID = "bill_sale_id";
    public static final String NEED_SAMPLE = "need_sample";
    public static final String LATEST_UP_DATE = "latest_up_date";
    public static final String LATEST_UP_TIME = "latest_up_time";
    public static final String LATEST_DOWN_DATE = "latest_down_date";
    public static final String LATEST_DOWN_TIME = "latest_down_time";
    public static final String FIRST_TIME = "first_time";
    public static final String HAS_NEW_PIC = "has_new_pic";
    public static final String SHOW_PROXY_FLAG = "show_proxy_flag";
    public static final String PIC_NEED_RECYCLE = "pic_need_recycle";
    public static final String DESIGN_USER_ID = "design_user_id";
    public static final String MEMO = "memo";
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "分公司ID")
    private Long dept_id;
    @ApiModelProperty(value = "客户ID（项目ID）")
    private Long customer_id;
    @ApiModelProperty(value = "合同id")
    private Long contract_id;
    @ApiModelProperty(value = "销售单id")
    private Long bill_sale_id;
    @ApiModelProperty(value = "是否需要小样，0:不需要,1:需要")
    private Boolean need_sample;
    @ApiModelProperty(value = "最晚上刊日期")
    private LocalDate latest_up_date;
    @ApiModelProperty(value = "1:上午,2:下午")
    private Integer latest_up_time;
    @ApiModelProperty(value = "最晚下刊日期")
    private LocalDate latest_down_date;
    @ApiModelProperty(value = "1:上午,2:下午")
    private Integer latest_down_time;
    @ApiModelProperty(value = "是否第一次上画，0:否，1:是")
    private Boolean first_time;
    @ApiModelProperty(value = "是否有新画面，0:否，1:是")
    private Boolean has_new_pic;
    @ApiModelProperty(value = "是否显示代理资源标识，0:否，1:是")
    private Boolean show_proxy_flag;
    @ApiModelProperty(value = "画面是否回收")
    private Boolean pic_need_recycle;
    @ApiModelProperty(value = "是否生成外链（不传），0:否，1:是")
    private Boolean generate_link;
    @ApiModelProperty(value = "设计人员id")
    private Long design_user_id;
    @ApiModelProperty(value = "备注")
    private String memo;
    @ApiModelProperty(value = "确认批次号")
    private String confirm_batch;
    @ApiModelProperty(value = "签字照片")
    private String confirm_sign_img;
    @ApiModelProperty(value = "拍照要求是否确认")
    private Boolean shoot_requirement_confirmed;
    @ApiModelProperty("1：普通类型 2：换画类型")
    private Integer type;

}
